home *** CD-ROM | disk | FTP | other *** search
/ CD ROM Paradise Collection 4 / CD ROM Paradise Collection 4 1995 Nov.iso / filutil / bison110.zip / BISON.MAN < prev    next >
Text File  |  1990-06-26  |  2KB  |  59 lines

  1.  
  2.  
  3.  
  4.  
  5.                                                          BISON(1)
  6.  
  7.  
  8.  
  9. NAME
  10.      bison - GNU Project parser generator (yacc replacement)
  11.  
  12. SYNOPSIS
  13.      bison [ -dlvty ] file
  14.  
  15. DESCRIPTION
  16.      Bison is a parser generator in the style of yacc(1).  It
  17.      should be upwardly compatible with input files designed for
  18.      yacc.
  19.  
  20.      Input files should follow the yacc convention of ending in
  21.      ``.y''.  Unlike yacc, the generated files do not have fixed
  22.      names, but instead use the prefix of the input file.  For
  23.      instance, a grammar description file named parse.y would
  24.      produce the generated parser in a file named parse.tab.c,
  25.      instead of yacc's y.tab.c.
  26.  
  27.      Bison takes five optional flags.
  28.  
  29.      -d   Produce a .tab.h file, similar to yacc's y.tab.h file.
  30.  
  31.      -l   Omit #line lines in the parser output file. Error mes-
  32.           sages from the C compiler will then be associated with
  33.           lines in the parser output file, instead of lines in
  34.           the original grammar file.
  35.  
  36.      -t   Turn on debugging. This option causes the bison output
  37.           to have debugging code made available via the C pre-
  38.           processor.  The external variable yydebug should be
  39.           made non-zero to have the debugging code actually pro-
  40.           duce output.
  41.  
  42.      -v   Be verbose. Analogous to the same flag for yacc.
  43.  
  44.      -y   Use fixed output file names. I.e., force the output to
  45.           be in files y.tab.c, y.tab.h, and so on. This is for
  46.           full yacc compatibility.
  47.  
  48. FILES
  49.      /usr/local/lib/bison.simple   simple parser
  50.      /usr/local/lib/bison.hairy    complicated parser
  51.  
  52. SEE ALSO
  53.      yacc(1)
  54.      The Bison Reference Manual, included as the file
  55.      bison.texinfo in the bison source distribution.
  56.  
  57. DIAGNOSTICS
  58.      ``Self explanatory.''
  59.